package com.zxx.dao;

import com.zxx.pojo.Goods;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface GoodsMapper  {

    @Select("select id,title,price,stock,saleNum,createTime,categoryName,brandName,spec specStr from goods")
    List<Goods> selectAll();
}
